home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / thw.xml < prev    next >
Text File  |  2002-08-30  |  3KB  |  84 lines

  1. <search function="thw">
  2.   <name>Tom's Hardware</name>
  3.   <description>Search Articles at Tom's Hardware.com <br/>
  4.     <div class="helpboxDescLabels">Usage:</div>
  5.     <table class="helpboxDescTable">
  6.       <tr><td>thw <<i>what</i>> [/category:<<i>category</i>>]</td></tr>
  7.     </table>
  8.     <div class="helpboxDescLabels">Switch:</div>
  9.     <table class="helpboxDescTable">
  10.       <tr><td>/category</td><td> - </td>
  11.         <td>Narrow your search to one of the following categories:<br/>
  12.         <table class="helpboxDescTable">
  13.           <tr><td><b>all</b></td><td> - </td><td>all categories (default)</td></tr>
  14.           <tr><td><b>mainboard</b></td><td> - </td><td>IMainboard</td></tr>
  15.           <tr><td><b>cpu</b></td><td> - </td><td>ICPU</td></tr>
  16.           <tr><td><b>graphic</b></td><td> - </td><td>IGraphic</td></tr>
  17.           <tr><td><b>display</b></td><td> - </td><td>IDisplay</td></tr>
  18.           <tr><td><b>video</b></td><td> - </td><td>IAudio/Video</td></tr>
  19.           <tr><td><b>storage</b></td><td> - </td><td>IStorage</td></tr>
  20.           <tr><td><b>network</b></td><td> - </td><td>INetwork</td></tr>
  21.           <tr><td><b>mobile</b></td><td> - </td><td>IMobile Devices</td></tr>
  22.           <tr><td><b>consumer</b></td><td> - </td><td>IPeripherals & Consumer</td></tr>
  23.           <tr><td><b>howto</b></td><td> - </td><td>IHowTo</td></tr>
  24.           <tr><td><b>business</b></td><td> - </td><td>IBusiness</td></tr>
  25.         </table>
  26.       </td></tr>
  27.     </table>
  28.     <div class="helpboxDescLabels">Examples:</div>
  29.     <table class="helpboxDescTable">
  30.       <tr><td>thw abit</td></tr>
  31.       <tr><td>thw duron /category:mainboard</td></tr>
  32.     </table>
  33. </description>
  34.   <category>Computers</category>
  35.   <link>http://www.tomshardware.com</link>
  36.   <contributor>John W. Bairen, Jr.</contributor>
  37.  
  38.   <form name="thwf"
  39.         action="http://www6.tomshardware.com/search/search.html" 
  40.         method="get">
  41.     <input type="hidden" name="words" value=""/>
  42.     <input type="hidden" name="category" value="all"/>
  43.   </form>
  44.  
  45.   <script><![CDATA[
  46.     function thw(q)
  47.     {
  48.       if( nullArgs("thw",q) )
  49.         return false;
  50.       else
  51.       {
  52.         var args = parseArgs(q, "category");
  53.         var category = args.switch_val["category"];
  54.         if( typeof category == "undefined" ) category = "all";
  55.         switch( category )
  56.         {
  57.           case "all": break;
  58.           case "mainboard": break;
  59.           case "cpu": break;
  60.           case "graphic": break;
  61.           case "display": break;
  62.           case "video": break;
  63.           case "storage": break;
  64.           case "network": break;
  65.           case "mobile": break;
  66.           case "consumer": break;
  67.           case "howto": break;
  68.           case "business": break;
  69.           default: nullArgs("thw","?"); return false;
  70.         }
  71.         document.thwf.words.value = args.q;
  72.         document.thwf.category.value = category;
  73.         submitForm(thwf);
  74.       }
  75.     }
  76.   ]]></script>
  77.  
  78.   <copyright>
  79.     Copyright (c) 2002 David Bau
  80.     Distributed under the terms of the
  81.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  82.   </copyright>
  83. </search>
  84.